package com.thrc.borrow.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.thrc.borrow.entity.User;
import com.thrc.borrow.vo.UserVo;

@Repository
public interface UserDao extends BaseDao<User, UserVo> {

	UserVo selectByPhone(User t);

	void insertUserRole(User t);

	void deleteUserRole(User t);

	List<String> getRoleListById(User t);

	User checkLogin(@Param("phone")String phone, @Param("password")String password);

}
